<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<include file='Common:head'/>
<body>
<div class="formbody">
  <div class="formtitle"><span>基本信息</span></div>
  <form action="{:U('Goods/addDo')}" method="post" enctype="multipart/form-data">
    <ul class="forminfo">
      <li>
        <label>商品名称</label>
        <input name="name" type="text" class="dfinput" />
        <i>标题不能超过30个字符</i></li>
      <li>
        <label>商品价格</label>
        <input name="price" type="text" class="dfinput" />
      </li> 
      <li>
        <label>商品原价</label>
        <input name="rprice" type="text" class="dfinput" />
      </li> 
      <li>
        <label>商品数量</label>
        <input name="num" type="text" class="dfinput" />
      </li>
                 
       <li>
          <label>商品简介</label>
         <textarea name="desc" value="" class="dfinput"></textarea>   
          <i>不能超过30个字符</i>
       </li>       
      <li>
          <input type="hidden" name="addtime" value="<?php echo date(time()) ?>" class="dfinput">
       </li>  
        <li>
          <label>商品图片</label>
          <input type="file" name="pic" value="上传图片"/>
          <i>上传的图片请不要大于 1MB</i>
       </li> 
      <li>
        <label>&nbsp;</label>
        <input name="" type="submit" class="btn" value="确认保存"/>
      </li>
    </ul>
  </form>
</div>
</body>
</html>
